package com.catsic.mod.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.catsic.base.BaseService;
import com.catsic.mod.condition.ReadMessageCondition;
import com.catsic.mod.entity.ReadMessage;
import com.catsic.mod.form.ReadMessageForm;

public interface ReadMessageService extends BaseService<ReadMessage,String>{
	/**
	 * findAll:查询已读邮件
	 * @param condition
	 * @param pageable
	 * @return
	 */
	public Page<ReadMessageForm> findAll(ReadMessageCondition condition,Pageable pageable);

	/**
	 * add:写入信息	
	 * @param SendMessage
	 * @return 
	 */
	public ReadMessage add(ReadMessageForm rendMessageForm);
	
}
